package com.adbj;

import java.util.*;

public class listtest {
    private static final int MAX_ARRAY_SIZE = Integer.MAX_VALUE - 8;
    static final int DEFAULT_INITIAL_CAPACITY = 1 << 4; // aka 16

    public static void main(String[] args) {
    /*    List<Integer> list=new ArrayList<>();
        list.add(1);
        list.add(2);
        List<Integer> vector=new Vector<>();
        vector.size();
        int a=(0 < MAX_ARRAY_SIZE) ?
                Integer.MAX_VALUE :
                MAX_ARRAY_SIZE;

        //2147483639
        System.out.println(DEFAULT_INITIAL_CAPACITY);*/

        HashMap<Integer, Integer> map = new HashMap<>(8);
        for (int i = 1; i <= 7; i++) {
            int sevenSlot = i * 8 + 7;
            map.put(sevenSlot, sevenSlot);
        }

        Hashtable<String,String> hashtable=new Hashtable<>();
        hashtable.put("aaa","1111");
    }
}
